package com.gxa.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.page.AccommodationQueryPage;
import com.gxa.order.entity.AccommodationOrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AccommodationMapper extends BaseMapper<AccommodationOrderItem> {

    List<AccommodationOrderItem> selectPageByQuery(AccommodationQueryPage accommodationQueryPage);

    Integer selectCountByQuery(AccommodationQueryPage accommodationQueryPage);
}
